package com.zhaorl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhaorl.domain.Menu;
import com.zhaorl.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description user用户Mapper层
 * @Author zhaorl
 * @Date 2023/3/28 15:35
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    /**
     * @description 根据用户id获取权限标识
     * @param userId
     * @return List<String>
     * @author zhaorl
     * @date 2023/3/29 14:45
     */
    List<String> selectPermsByUserId(@Param(value = "userId") Long userId);
}
